nfig.html 200 38410 355
2013-11-23 21:12:27 W3SVC3093898 GET /help/Integration_with_OS.html - 80 201.75.15.180 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:25.0)+Gecko/20100101+Firefox/25.0 http://www.csscript.net/help/Online/contents.html 200 2923 400
2013-11-23 21:13:05 W3SVC3093898 GET /logo.PNG - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 1900 323
2013-11-23 21:13:05 W3SVC3093898 GET /arrow.gif - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 1094 324
2013-11-23 21:13:05 W3SVC3093898 GET / - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 https://www.google.com/ 200 33563 368
2013-11-23 21:13:05 W3SVC3093898 GET /Images/menu.png - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 2855 330
2013-11-23 21:13:05 W3SVC3093898 GET /new.png - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 7792 322
2013-11-23 21:13:05 W3SVC3093898 GET /Images/scriptInNP.PNG - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 20232 336
2013-11-23 21:13:05 W3SVC3093898 GET /downloadbtn.gif - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 1147 330
2013-11-23 21:13:05 W3SVC3093898 GET /paypal.bmp - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 6130 325
2013-11-23 21:13:06 W3SVC3093898 GET /main.count.aspx - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 http://www.csscript.net/ 200 1425 330
2013-11-23 21:13:06 W3SVC3093898 GET /favicon.ico - 80 108.210.199.48 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/31.0.1650.57+Safari/537.36 - 200 1657 274
2013-11-23 21:15:32 W3SVC3093898 GET /npp/CSScriptNpp.zip - 80 212.122.109.82 Notepad++/Plugin-Manager;v1.0.8.0 - 200 1316195 121
2013-11-23 21:18:21 W3SVC3093898 GET /npp/css_npp.gif - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 http://csscriptintellisesnse.codeplex.com/ 200 387432 338
2013-11-23 21:18:24 W3SVC3093898 GET /npp/codeplex/toolbar.png - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 - 200 3033 294
2013-11-23 21:18:24 W3SVC3093898 GET /statistics/css.npp.count.jpeg - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 - 200 1461 303
2013-11-23 21:18:25 W3SVC3093898 GET /npp/codeplex/new_script.png - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 - 200 5364 297
2013-11-23 21:18:25 W3SVC3093898 GET /npp/codeplex/CSScript.png - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 - 200 66125 295
2013-11-23 21:19:06 W3SVC3093898 GET /css_logo.ico - 80 47.16.238.107 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.3;+WOW64;+Trident/7.0;+.NET4.0E;+.NET4.0C;+.NET+CLR+3.5.30729;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.30729;+MDDCJS) - 200 43335 250
2013-11-23 21:19:25 W3SVC3093898 GET /npp/ - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 - 200 7772 308
2013-11-23 21:19:25 W3SVC3093898 GET /npp/css_npp_logo.png - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 http://www.csscript.net/npp/ 200 10230 333
2013-11-23 21:19:26 W3SVC3093898 GET /arrow.gif - 80 212.122.109.82 Mozilla/5.0+(Windows+NT+6.1;+rv:25.0)+Gecko/20100101+Firefox/25.0 http://www.csscript.net/npp/ 200 1094 322
2access" implementation. This functionality of
the CS-Script allows to interface the Web Services and COM objects with
just a single line of code. No manual steps for importing type
libraries or executing the <span style="font-style: italic;">wsdl.exe</span>
are required. All can be done in the background as a pre-execution
action (see <a href="Using_COM.html">Using COM</a>
and&nbsp;<span style="text-decoration: underline;"></span><a href="ws.html"><span style="text-decoration: underline;">CS-Script
and Web Services</span></a>&nbsp;for details).
&nbsp;
<h4 class="dtH4">Example&nbsp;</h4>
<p>This is the example of the script, which sets the environment
variable<span style="color: rgb(51, 0, 153);"> greeting</span>
to&nbsp;<span style="color: rgb(51, 0, 153);">"Hello!"</span>:</p>
<table style="width: 710px; text-align: left;" border="1" cellpadding="2" cellspacing="2">
  <tbody>
    <tr>
      <td style="white-space: nowrap; background-color: rgb(255, 255, 204);"><font face="Courier New" size="2"><font color="#0000ff" size="2">using</font>&nbsp;System;<br>
      <br>
      <font color="#0000ff" size="2">class</font>&nbsp;Script<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff" size="2">static</font>&nbsp;<font color="#0000ff" size="2">public</font>&nbsp;<font color="#0000ff" size="2">void</font>&nbsp;Main(<font color="#0000ff" size="2">string</font>[]&nbsp;args)<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff" size="2">if</font>&nbsp;(args.Length&nbsp;&gt;&nbsp;0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine(<font color="#800000" size="2">"Setting&nbsp;environment&nbsp;variable&nbsp;for&nbsp;"</font>+<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.IO.Path.GetFileName(args[0])+<font color="#800000" size="2">"..."</font>);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Environment.SetEnvironmentVariable(<font color="#800000" size="2">"greeting"</font>,&nbsp;<font color="#800000" size="2">"Hello!"</font>);<br>
&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}</font></td>
    </tr>
  </tbody>
</table>
<p>Now the value of the environment variable <span style="color: rgb(51, 0, 153);">greeting&nbsp;</span>is&nbsp;available
for any script, which uses <span style="font-style: italic;">setEV.cs
</span>file as a pre-script. &nbsp;This is an example of such
script (<span style="font-style: italic;">script.cs</span>):<br>
</p>
<table style="width: 710px; text-align: left;" border="1" cellpadding="2" cellspacing="2">
  <tbody>
    <tr>
      <td style="white-space: nowrap; background-color: rgb(255, 255, 204);"><font face="Courier New" size="2"><font color="#008000" size="2">//css_prescript&nbsp;setEV($this);<br>
      </font></font><font face="Courier New" size="2"><font color="#0000ff" size="2">using</font>&nbsp;System;<br>
      <br>
      <font color="#0000ff" size="2">class</font>&nbsp;Script<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff" size="2">static</font>&nbsp;<font color="#0000ff" size="2">public</font>&nbsp;<font color="#0000ff" size="2">void</font>&nbsp;Main(<font color="#0000ff" size="2">string</font>[]&nbsp;args)<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Console.WriteLine(Environment.GetEnvironmentVariable(<font color="#800000" size="2">"greeting"</font>));<br>
&nbsp;&nbsp;&nbsp;&nbsp;}<br>
}</font></td>
    </tr>
  </tbody>
</table>
<h4 class="dtH4">Output&nbsp;</h4>
<br>
<p><img style="width: 485px; height: 181px;" alt="" src="Images/pre_post.PNG"></p>
<br>
<h4 class="dtH4">See Also&nbsp;</h4>
<a href="Using_COM.html">Using COM</a>&nbsp;|&nbsp;<span style="text-decoration: underline;"></span><a href="ws.html"><span style="text-decoration: underline;">CS-Script
and Web Services</span></a><br>
<br>
</div>
</body></html>